﻿@{
    ViewBag.Title = "newindex";
}
@section scripts
{
    <script src="@Url.Content("~/Scripts/shared/share.js")" type="text/javascript"></script> 
    <script src="@Url.Content("~/Scripts/shared/shown.js")" type="text/javascript"></script> 
    <script src="@Url.Content("~/Scripts/Modular/GetUserClass.js")" type="text/javascript"></script>        
}

<form id="form1" method="post">
<div class="mini-toolbar" style="padding:2px;border-top:0;border-left:0;border-right:0;">                
    <table style="width:100%;">
        <tr>
            <td style="white-space:nowrap;">
                @Html.Partial("~/Views/Modular/SearchInfo.cshtml")
            </td>
            <td style="width:100%;">
                <span class="separator"></span>
                <a class="mini-button" iconCls="icon-ok" onclick="onSelectUserClass" plain="true">选择</a>
                <span class="separator"></span>
                    <a class="mini-button" iconCls="icon-close" onclick="CloseWindow" plain="true">关闭</a>
            </td>
        </tr>
    </table>                
</div>

        <div id="datagrid1" class="mini-datagrid" style="width:100%;height:330px;" pageSize="10" idField="FItemID" 
            multiSelect="true" allowCellSelect="true" allowCellEdit="false" showColumnsMenu="true"
            borderStyle="border:0;" url="GetUserClassNoInCorpID"   onrowdblclick="onSelectUserClass" sortMode="client">
            <div property="columns">
                <div type="checkcolumn" width="50"></div>
                <div type="indexcolumn" width="40" headerAlign="center" >序号</div>
                <div field="FItemID" width="80" visible = "false" headerAlign="center" >内码</div>
                <div field="FNumber" width="120" allowSort="true" headerAlign="center" >编码</div>
                <div field="FName" width="200" allowSort="true" headerAlign="center" >名称</div>
            </div>
        </div>

    <input name="FCorpID" class="mini-hidden" />
</form>

